package com.future.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.future.common.base.BaseDao;
import com.future.model.Parent;

public class ParentDao extends BaseDao<Parent> {
	public List<Parent> getParents(Long bjid) {
		Map<String, Long> params = new HashMap<String, Long>();
		params.put("bjid", bjid);
		return find(params);
	}

	public Parent getParentInfo(Long currentUserId) {
		return findFirst(currentUserId);

	}
}
